home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dirut / dosdir21.zip / MATCH.H < prev    next >
C/C++ Source or Header  |  1994-01-11  |  812b  |  32 lines

  1. #ifndef _MATCH_H
  2. #define _MATCH_H
  3.  
  4. /* Set up portability */
  5. #include "tailor.h"
  6.  
  7. /* stat() bug for Borland, Watcom, and Atari ST MiNT on
  8.  * TOS filesystems:  returns 0 for wildcards!  (returns 0xffffffff on Minix
  9.  * filesystem or U: drive under Atari MiNT) */
  10. #define WILD_STAT_BUG
  11.  
  12. /**************/
  13. /*  Typedefs  */
  14. /**************/
  15.  
  16. typedef unsigned char     uch;  /* code assumes unsigned bytes; these type-  */
  17. typedef unsigned short    ush;  /*  defs replace byte/UWORD/ULONG (which are */
  18. typedef unsigned long     ulg;  /*  predefined on some systems) & match zip  */
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. int dd_match  OF((const char *pattern, const char *string, int ignore_case));
  25. int dd_iswild OF((const char *p));
  26.  
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30.  
  31. #endif /* _MATCH_H */
  32.